Crate burble_crypto

source ·
Expand description

Bluetooth LE cryptographic toolbox ([Vol 3] Part H, Section 2.2).

Structs

  • 56-bit device address in big-endian byte order used by DHKey::f5 and MacKey::f6 functions ([Vol 3] Part H, Section 2.2.7 and 2.2.8).
  • RFC-4493 AES-CMAC ([Vol 3] Part H, Section 2.2.5).
  • LE Secure Connections check value generated by MacKey::f6.
  • LE Secure Connections confirm value generated by Nonce::f4.
  • P-256 elliptic curve shared secret ([Vol 3] Part H, Section 2.3.5.6.1).
  • Concatenated AuthReq, OOB data flag, and IO capability parameters used by MacKey::f6 function ([Vol 3] Part H, Section 2.2.8).
  • LE Secure Connections Long Term Key.
  • 128-bit key used to compute LE Secure Connections check value ([Vol 3] Part H, Section 2.2.8).
  • 128-bit random nonce value ([Vol 3] Part H, Section 2.3.5.6).
  • 6-digit LE Secure Connections numeric comparison value generated by Nonce::g2.
  • P-256 elliptic curve public key ([Vol 3] Part H, Section 3.5.6).
  • P-256 elliptic curve public key affine X coordinate.
  • P-256 elliptic curve secret key.

Traits

  • Codec for packing and unpacking SMP command parameters.